<div id="content">
    {foreach from=$groupFirm item=goldfirm}                 
    {assign var='oneGroupBottom' value=$goldfirm}          
    {section loop=$oneGroupBottom name=oneGroup step=1 start=0 max=1 show=true}
    <div id="oneGroup"> <!--一组推荐-->          
        <div style="width:4px;height:20px;float:left;"></div> <!-- 左右占空 -->
            <div id="groupTitle">{$oneGroupBottom[oneGroup].groupTitle|default:'创业类企业'|truncate:14:'..'}</div>                
        <div id="groupContent"> 
        {assign var='nums' value=count($oneGroupBottom[oneGroup].groupData)} <!-- 计算推荐个数-->
        {if $nums > 6}   <!--  判断是否大于6 -->
        {assign var='nums' value='6'}
        {/if}
        {section loop=$oneGroupBottom[oneGroup].groupData name=data max=$nums start=0 step=1}
            <div style="width:4px;height:20px;float:left;"></div> <!-- 左右占空 -->
            <div id="element">
                <div id="groupLogo" style="text-align:center;background: url({$oneGroupBottom[oneGroup].groupData[data].logoName|default:'./templates/images/logo_google.png'});background-position: center center;background-repeat: no-repeat;"><a href="{$oneGroupBottom[oneGroup].groupData[data].linkAddress}"></a></div>
                <div id="groupText"><a href="{$oneGroupBottom[oneGroup].groupData[data].linkAddress}"><span>{$oneGroupBottom[oneGroup].groupData[data].firmName|default:'Google'|truncate:14:'..'}</span></a></div>                      
            </div> 
        {/section}
        </div>
    </div>
    <div id="clear"></div>
    <div style="width:4px;height:20px;"></div> <!-- 上下占空 -->
    {/section}          
    {/foreach}
</div>